#include "stdafx.h"
#include "Test.h"

#include "UniGame.h"
#include <iostream>

using namespace unigame;

void Test::testUtf8()
{
    char* text = "我速度来付款了空间";
    
    wchar_t* out = L"我发了的开关机";
    int a = sizeof(wchar_t);
    //StringManager::utf8String(text, out);
    //    setlocale(LC_ALL,"Chinese-simplified");
   // setlocale(LC_ALL,"zh_CN.UTF-8");
    //wchar_t* out = L"是垃圾分类看woeijrlksjf";
    printf("%d", (int)(*out));
    std::wcout.clear();
    std::wcout<< out;
}